<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of idioma
 *
 * @author souzadavi
 */
class Idioma extends CMS_Controller {

    //put your code here
    public function __construct() {
        parent::__construct();
    }

    function index() {
        if ($this->input->post('element_id') != '') {
            $this->lang->load($this->input->post('element_id'));
        }
        echo $this->lang->line($this->input->post('language_line'));
    }

}

?>
